package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-04-13
 */
@Getter
@Setter
@TableName("product")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    /**
     * 商品分类
     */
    @TableField("cid")
    private Integer cid;

    /**
     * 价格
     */
    @TableField("price")
    private String price;

    /**
     * 品牌
     */
    @TableField("label")
    private String label;

    /**
     * ip
     */
    @TableField("ip")
    private String ip;

    /**
     * 商品轮播图id
     */
    @TableField("ppid")
    private Integer ppid;

    /**
     * 商品详情图片id
     */
    @TableField("pdid")
    private Integer pdid;
}
